package com.ncloud.resman.entity;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

public class ServerUnit {

	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long relId;

	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long modelId;

	private String unitType;

	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long brandId;

	private String capacity;

	private Integer amount;
	
	private String modifyTag; // add update del

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date beginDate;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date endDate;

	public Long getRelId() {
		return relId;
	}

	public void setRelId(Long relId) {
		this.relId = relId;
	}

	public Long getModelId() {
		return modelId;
	}

	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	public String getUnitType() {
		return unitType;
	}

	public void setUnitType(String unitType) {
		this.unitType = unitType;
	}

	public Long getBrandId() {
		return brandId;
	}

	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}

	public String getCapacity() {
		return capacity;
	}

	public void setCapacity(String capacity) {
		this.capacity = capacity;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getModifyTag() {
		return modifyTag;
	}

	public void setModifyTag(String modifyTag) {
		this.modifyTag = modifyTag;
	}

}
